package com.yunhe.policyfulfillment.authority.service;

import com.yunhe.common.exception.ArgumentErrorException;
import com.yunhe.policyfulfillment.authority.domain.PolicyOrg;

import java.util.List;

/**
 * @ClassName IPolicyOrgService
 * @Description TODO
 * @Author HeTao
 * @Date 2021/7/26 9:39
 * @Version 1.0
 **/
public interface IPolicyOrgService {
    List<PolicyOrg> findPolicyOrgs();

    List<PolicyOrg> findPolicyOrgsByOrgType(String orgType);

    List<PolicyOrg> findPartyGovernmentOfficeAndCompetentAuthority();

    PolicyOrg findPolicyOrgByOrgId(int orgId);

    PolicyOrg searchPolicyOrgByPrimaryKey(Integer orgId);

    void createPolicyOrg(PolicyOrg policyOrg) throws ArgumentErrorException;

    void deletePolicyOrg(List<Long> ids) throws ArgumentErrorException;

    void updatePolicyOrg(PolicyOrg policyOrg) throws ArgumentErrorException;


}
